import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import Vant from "vant";

import "reset-css";
import "vant/lib/index.css"; //组件库样式文件
import "./assets/css/base.scss";
import "./assets/font/iconfont.css";

import { initRem } from "./utils/rem";
import CustomInput from "./components/custom-input.vue";
import JobItem from "./components/job-item.vue";
Vue.use(Vant);
Vue.config.productionTip = false;
initRem(); //触发rem的计算
Vue.component("custom-input", CustomInput); //vue2组件全局注册
Vue.component("JobItem", JobItem); //vue2组件全局注册
new Vue({
  render: (h) => h(App),
  router, //路由注入
  store, //注入状态机
}).$mount("#app");
